{extend name="base" /}
{block name="body"}
<div class="layui-card">
    <div class="layui-card-body">
        <blockquote class="layui-elem-quote">
            <button class="layui-btn layui-btn-sm layui-btn-warm ajax-status" data-title="查询余额" data-url="{:url('overage')}"><i class="fa fa-bitcoin"></i> 查询余额</button>
            手机号为多手机号时，必须以<span class="text-danger"> 逗号(,) </span>隔开 非法手机号将自动过滤！
        </blockquote>
        <form action="{:request()->url()}" class="layui-form" method="post">
            <div class="layui-form-item">
                <label class="layui-form-label">手机号码</label>
                <div class="layui-input-block" style="max-width: 600px;">
                    <textarea name="mobile" placeholder="请输入手机号码"  class="layui-textarea"></textarea>
                </div>
                <div class="layui-form-mid layui-word-aux">多手机号时必须以逗号(,)隔开</div>
            </div>
            <div class="layui-form-item">
              <label class="layui-form-label">定时发送</label>
              <div class="layui-input-inline">
                <input type="text" name="sendtime" class="layui-input" id="data" placeholder="yyyy-MM-dd HH:mm:ss">
              </div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label">推送消息</label>
                <div class="layui-input-block" style="max-width: 600px;">
                    <textarea name="content" placeholder="请输入推送内容" lay-verify="require" class="layui-textarea"></textarea>
                </div>
                <div class="layui-form-mid layui-word-aux">长度为60字以内</div>
            </div>
            <div class="layui-form-item">
                <div class="layui-input-block" style="max-width: 600px;">
                    <button class="layui-btn" lay-filter="i" lay-submit="">推送</button>
                    <button class="layui-btn layui-btn-primary" type="reset">重置</button>
                </div>
            </div>
        </form>
    </div>
</div>
{/block}
{block name="js"}
<script type="text/javascript">
layui.use('laydate', function(){
  var laydate = layui.laydate;
  //日期时间选择器
  laydate.render({
    elem: '#data',
    min:1,
    //max: 30,
    type: 'datetime'
  });
});
</script>
{/block}
